package com.atguigu.day10.work;

public class Test08 {
    public static void main(String[] args) {
        MyArrayList list=new MyArrayList();
        list.add("张三");
        list.add("李四");
        list.add("王五");
        list.remove(1);
        list.set(1,"赵六");
        Object obj=list.get(1);
        System.out.println(obj);
        Selector select=list.select();
        while (select.hasNext()){
            Object next=select.next();
            System.out.println(next);
        }
    }
}
